

public class TestException extends Exception{
    public TestException(String message){
        super(message);
    }

//    public int test(int[] array) throws Exception {
//        if (array == null) {
//            throw new NullPointerException("array is null");
//        }
//        return array[0];
//    }

}